package com.atguigu.spi;

import org.apache.dubbo.common.URL;
import org.apache.dubbo.common.extension.Activate;

@Activate(group ="health", value = "oil")
//@Activate(group ="nonhealth")
public class OilCar implements Car{
    @Override
    public String carType() {
        return "燃油";
    }

    @Override
    public String carName(URL url) {
        return "燃油汽车";
    }
}
